﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>活动管理-签到系统</title>
<link rel="stylesheet" type="text/css"
	href="../static/myMessager/myTable.css" />
<link rel="stylesheet" type="text/css"
	href="../static/bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css"
	href="../static/MyPagination/myPagination.css" />
<link rel="stylesheet" type="text/css"
	href="../static/myMessager/myMessager.css" />
<link rel="stylesheet" type="text/css"
	href="../static/My97DatePicker/skin/WdatePicker.css" />
<script type="text/javascript"
	src="../static/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="../static/common/common.util.js"></script>
<script type="text/javascript"
	src="../static/jquery/jquery-1.10.2.min.js"></script>
<script type="text/javascript"
	src="../static/jquery/jquery.form2json.js"></script>
<script type="text/javascript"
	src="../static/MyPagination/jquery.myPagination.js"></script>
<script type="text/javascript"
	src="../static/myMessager/jquery.myMessager.js"></script>
<script type="text/javascript"
	src="../static/js/activity/activityList.js"></script>
<style type="text/css">
a:link {
	text-decoration: none;
}

.domShow {
	display: block;
}

.domHide {
	display: none;
}

.labelSpan {
	display: inline-block;
	width: 50px;
	height: 40px;
}

.inputSpan {
	
}
</style>
</head>
<body>
	<div class="categoryBox">
		<ol class="breadcrumb">
			<li>您的位置：</li>
			<li><a href="#">活动管理</a></li>
			<li class="active">活动列表</li>
		</ol>
	</div>
	<div id="detailSearch" style="text-align: center;">
		<form id="searchForm" method="post" target="_blank">
			<p>
				<span class="tit" style="margin-left: 4px;">时间：</span>
				<span><input type="text" value="${obj.startTimeStr}"
					id="startTime" name="startTimeStr" class="Wdate"
					onClick="datePicker(1);" /></span> 
				<span class="tit"
					style="margin-left: 25px;">至
				</span> 
				<span
					style="margin-left: 25px;"><input type="text"
					value="${obj.endTimeStr}" id="endTime" name="endTimeStr"
					class="Wdate" onClick="WdatePicker({skin:'whyGreen'})" />
				</span> 
				<span
					class="tit" style="margin-left: 18px;">活动名称：<input
					type="text" class="bigIpt" id="topic" name="topic" value="" />
				</span>
				<span
					class="tit" style="margin-left: 18px;">状态：
					<select
						id="status" name="status" style="width: 150px;">
							<option value="0" selected>正常</option>
							<option value="1">已删除</option>
							<option value="">所有</option>
					</select>
				</span>
			</p>
		</form>
	</div>

	<div id="ActivityBtn" style="text-align: center;">
		<a style="margin-left: 100px; margin-top: 1px;"
			href="javascript:void(0);" id="searchBtn" class="btn btn-primary"
			onclick="doSearch(1);"><s></s>查询</a> <a id="searchBtn"
			class="btn btn-warning" href="javascript:void(0);"
			style="margin-left: 30px;" onClick="doReset();"><s></s>重置</a> <a
			href="javascript:void(0)" id="showActivityBtn"
			style="margin-left: 30px;" class="btn btn-primary"><span>新增活动</span></a>&nbsp;&nbsp;
	</div>

	<!--查询结果-->
	<div id="acList" style="margin-left: 3px;">
		<table id="dataDrig"></table>
	</div>
	<!--查询结果结束-->

	<!--新增活动-->
	<div id="addWin" style="display: none;">
		<div style="margin-left: 20px;">
			<div>
				<span class="labelSpan">区域：</span> <span class="inputSpan"> <select
					id="area2" style="width: 150px;">
					<c:if test="${obj.area==0}">
						<option value="1">华东</option>
						<option value="2">华南</option>
						<option value="3">华北</option>
						<option value="4">政企</option>
					</c:if>
					<c:if test="${obj.area==1}">
						<option value="1">华东</option>
					</c:if>
					<c:if test="${obj.area==2}">
						<option value="2">华南</option>
					</c:if>
					<c:if test="${obj.area==3}">
						<option value="3">华北</option>
					</c:if>
					<c:if test="${obj.area==4}">
						<option value="4">政企</option>
					</c:if>
				</select>
				</span>
			</div>
			<div>
				<span class="labelSpan">名称：</span> <span class="inputSpan"><input
					id="topic2" style="width: 300px" maxlength="300"></input></span>
			</div>
			<div>
				<span class="labelSpan">备注：</span> <span class="inputSpan"><input
					id="remark2" style="width: 300px" maxlength="300"></input></span>
			</div>
			<p>
				<span id="addActivitySpan" style="margin-left: 110px;"><a
					id="addActivityBtn" class="btn btn-primary"
					href="javascript:void(0);"><s></s>新增</a></span> <span
					style="margin-left: 40px;"><a id="cancleAddActivityBtn"
					class="btn btn-primary" href="javascript:void(0);"><s></s>取消</a></span>
			</p>
		</div>
	</div>
</body>
</html>